#pragma once

enum{
    SOCK_ERR=1,
    BIND_ERR,
    RECV_ERR,
    SENDTO_ERR,
    LISTEN_ERR,
    ACCEPT_ERR,
    READ_ERR,
    CONNECT_ERR,
    FORK_ERR,
    SETSID_ERR,
    NEW_ERR,
    FD_FULL
};